<%--
    Document   : index
    Created on : Aug 6, 2010, 6:16:31 PM
    Author     : nguyenquang
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            String name = request.getParameter("txtName");
            out.print("Welcome, " + name);
        %>
        <form action="myServlet1">
            <select name="listdoctor">
                <option value="Nguyen Van A" />Nguyen Van A
                <option value="Pham Van B" />Pham Van B
                <option value="Nguyen Thi C" />Nguyen Thi C
            </select><BR>
             <input type="hidden" name="name" value="<%=name%>" />
             <input type="submit" value="Send" />
        </form>
    </body>
</html>
